/* 搜索框和建议列表样式 */
#search-container {
    position: relative;
    width: 400px;
    height: 60px;
    margin: 0 auto;
}

#search-input {
    width: 300px;
    height: 30px;
    font-size: 14px;
    padding: 0 10px;
    margin: 0;
}

#suggestions {
    position: absolute;
    width: 302px;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 150px;
    overflow-y: auto;
    background-color: white;
    display: none;
    left: 30px;
    top: 47px;
}

.suggestion-item {
    padding: 10px;
    cursor: pointer;
}

.suggestion-item:hover {
    background-color: #f0f0f0;
}

.search-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.button-content {
    width: 34px;
    height: 34px;
    background: #ff242c;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.search-button {
    width: 20px;
    height: 20px;
    background: url("/images/search.png");
    background-size: 100% 100%;
}

.result {
    width: 85%;
    height: 100%;
    margin: 0 auto;
    overflow-y: auto;
}

.result-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    overflow-y: auto;
}

.item {
    width: 200px;
    padding: 38px 9px 10px;
    cursor: pointer;
}

.item:hover {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.image {
    width: 200px;
    height: 200px;
}

.image img {
    width: 100%;
    height: 100%;
}
.price {
    width: 100%;
    height: 20px;
    color: red;
}
.title {
    width: 100%;
    height: 20px;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.author {
    font-size: 14px;
}
.publisher {
    font-size: 14px;
}
em {
    color: red;
    font-style: normal;
}